#include "DTDEntityAttList.h"
#include <string>

using namespace std;

DTDEntityAttList::DTDEntityAttList(string nodeName, string name): XMLEntity(nodeName)
{
	this->name = name;
	this->attribute = "";
}

DTDEntityAttList::~DTDEntityAttList()
{
}

string DTDEntityAttList::toString()
{
	return "<!ATTLIST " + name + " " + attribute + " CDATA #IMPLIED>\n";
}

void DTDEntityAttList::setAttribute(string attribute)
{
	this->attribute = attribute;
}

string DTDEntityAttList::getAttribute()
{
	return this->attribute;
}
